public class mergeTwoLists {
    public static void main(String[] args) {
        ListNode head1 = new ListNode(12);
        head1.next = new ListNode(23);
        ListNode list2 = new ListNode(1);
        list2.next = new ListNode(14);
        Solution solution = new Solution();
        solution.mergeTwoLists(head1,list2);
    }
}
